package com.demo.view;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.RelativeLayout;

import androidx.annotation.Nullable;


public  class SettingItemLineView extends RelativeLayout {
    protected View mLineView;
    public SettingItemLineView(Context context) {
        super(context);
    }

    public SettingItemLineView(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public SettingItemLineView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public void showLine(boolean show){
        // 2021-10-30 : 去掉所有二三级设置选项中的分割线
        mLineView.setVisibility(GONE);
        //mLineView.setVisibility(show ? VISIBLE : GONE);
    }
}
